package com.wudl.govern.vo;

import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * meta_view
 *
 * @author wudl
 */
@Data
@ApiModel
public class MetaViewVO {

    @ApiModelProperty(value = "视图表")
    private Integer metaViewId;

    @ApiModelProperty(value = "view_name")
    private String viewName;

    @ApiModelProperty(value = "view_full_name")
    private String viewFullName;

    @ApiModelProperty(value = "check_opt_type")
    private String checkOptType;

    @ApiModelProperty(value = "是否安全  0：不是   1 ：是")
    private Integer updatable;

    @ApiModelProperty(value = "definition")
    private String definition;

    @ApiModelProperty(value = "remarks")
    private String remarks;

    @ApiModelProperty(value = "data_state")
    private Integer dataState;

    @ApiModelProperty(value = "meta_dir_id")
    private Integer metaDirId;

    @ApiModelProperty(value = "data_source_id")
    private Integer dataSourceId;

    @ApiModelProperty(value = "dept_id")
    private Integer deptId;

    @ApiModelProperty(value = "表的版本号（逻辑上 表id和表版本号才能识别某个版本的表的列）")
    private Integer viewVersion;

    @ApiModelProperty(value = "last_operation")
    private Integer lastOperation;

    @ApiModelProperty(value = "last_operation_status")
    private Integer lastOperationStatus;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "元目录(数据库目录)id")
    private Integer metaDbDirId;

}